<?php
/**
 * Joomla! 1.5 component jhtraq
 *
 * @version $Id: view.html.php 2010-03-09 08:28:06 svn $
 * @author JHShop
 * @package Joomla
 * @subpackage jhtraq
 * @license GNU/GPL
 *
 * Traq type system for Joomla
 *
 * This component file was created using the Joomla Component Creator by Not Web Design
 * http://www.notwebdesign.com/joomla_component_creator/
 *
 */

// no direct access
defined('_JEXEC') or die('Restricted access');

jimport( 'joomla.application.component.view');

/**
 * HTML View class for the jhtraq component
 */
class JhtraqViewRoadmap extends JView {
	function display($tpl = null) {
		$model =& JhtraqHelper::getModel('jhtraq');
		$project = JRequest::getVar('project');
		//echo $project;
		$this->project = $model->getProjectBySlug($project);
		$this->milestones = $model->getMilestonesByProject($this->project->id);
// 		print_r($this->milestones);
		//print_r($this->project);
        parent::display($tpl);
    }
}
?>